import java.util.Observable;

public class Employee extends Observable {
	float salary;
	public void setSalary (float newSalary) {
		salary = newSalary; //se schimba salariul
		setChanged(); //mark that this object has changed, Mandatory
		notifyObservers(this); //notify all observers, Mandatory
	}
}
